package com.developerstation.barcode.model;

import java.util.Date;

public class Cka {
    private Long id;

    private Integer seller;

    private Date createDate;

    private Date modifyDate;

    private String name;

    private Integer productQuantity;

    private String sn;

    private String no;

    private String ck;

    private String type;

    private String operator;

    private String memo;

    private Integer atmQuantity;

    private Date postedDate;

    private Boolean posted;

    private String memo2;

    private Boolean repetition;

    private String sellerName;

    //单据在客户端的修改状态
    private Integer updateStatus;
    
    
    public Integer getUpdateStatus() {
		return updateStatus;
	}

	public void setUpdateStatus(Integer updateStatus) {
		this.updateStatus = updateStatus;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getSeller() {
        return seller;
    }

    public void setSeller(Integer seller) {
        this.seller = seller;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getProductQuantity() {
        return productQuantity;
    }

    public void setProductQuantity(Integer productQuantity) {
        this.productQuantity = productQuantity;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn == null ? null : sn.trim();
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getCk() {
        return ck;
    }

    public void setCk(String ck) {
        this.ck = ck == null ? null : ck.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo == null ? null : memo.trim();
    }

    public Integer getAtmQuantity() {
        return atmQuantity;
    }

    public void setAtmQuantity(Integer atmQuantity) {
        this.atmQuantity = atmQuantity;
    }

    public Date getPostedDate() {
        return postedDate;
    }

    public void setPostedDate(Date postedDate) {
        this.postedDate = postedDate;
    }

    public Boolean getPosted() {
        return posted;
    }

    public void setPosted(Boolean posted) {
        this.posted = posted;
    }

    public String getMemo2() {
        return memo2;
    }

    public void setMemo2(String memo2) {
        this.memo2 = memo2 == null ? null : memo2.trim();
    }

    public Boolean getRepetition() {
        return repetition;
    }

    public void setRepetition(Boolean repetition) {
        this.repetition = repetition;
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName == null ? null : sellerName.trim();
    }

	@Override
	public String toString() {
		return "Cka [id=" + id + ", seller=" + seller + ", createDate="
				+ createDate + ", modifyDate=" + modifyDate + ", name=" + name
				+ ", productQuantity=" + productQuantity + ", sn=" + sn
				+ ", no=" + no + ", ck=" + ck + ", type=" + type
				+ ", operator=" + operator + ", memo=" + memo
				+ ", atmQuantity=" + atmQuantity + ", postedDate=" + postedDate
				+ ", posted=" + posted + ", memo2=" + memo2 + ", repetition="
				+ repetition + ", sellerName=" + sellerName + ", updateStatus="
				+ updateStatus + "]";
	}
}